package com.mdd.common.enums;

public enum AccountChangeEnum {

    BNW_INC_ADMIN(200, "管理员增加余额"),

    BNW_DEC_ADMIN(201, "管理员减少余额"),

    BNW_DEC_ORDER(202, "购买课程"),

    BNW_INC_RECHARGE(203, "充值余额"),

    BNW_INC_RECHARGE_GIVE(204, "充值赠送余额"),

    BNW_INC_REFUND(205, "订单退款"),

    ACTION_INC(1, "增加"),

    ACTION_DEC(0, "减少");

    private final int code;
    private final String msg;

    AccountChangeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }

}
